home *** CD-ROM | disk | FTP | other *** search
- Short: NES CHR-ROM Optimizer
- Author: Chris Covell (ccovell@direct.ca)
- Uploader: Chris Covell
- Type: misc/emu
-
- CHARlie is a small utility that optimizes or compresses the graphics
- data in a character ROM (most commonly for the NES/Famicom) to save
- space, to make the graphics storage more efficient, and to free up
- unused space in the CHR-ROM if more space is needed.
-
- It does this by checking for duplicate tiles in a CHR-ROM file. It
- can then mark the tile with a box, or eliminate it altogether and
- compress the remaining tiles.
-
- Usage
- -----
- At the command line, type in CHARlie infile outfile [-c]
-
- The infile is the CHR-ROM file that you want to optimize. It should
- be precisely 4096 bytes large, if you're dealing with just one array
- of tiles to fit into a single NES pattern table. Of course, a single
- valid CHR-ROM bank is 8192 bytes, but if you use the [-c] option with
- a file larger than 4096 bytes, CHARlie will try to fit as much as it
- can from that file into the smallest space possible in the outfile.
- Not using the [-c] option will not affect the positioning of graphics
- in CHR banks that might be 8k or larger.
-
- By default, CHARlie will replace a redundant character tile with a
- square marker. You can then use the space provided by all the markers
- for more graphics data in your NES programs. But, if you provide the [-c]
- argument on the command line, CHARlie will not use those markers. Instead,
- when it finds a duplicate tile, it will just eliminate that tile, and move
- all other tiles up to fill that gap. This will compress all the tiles into
- as little space as possible, freeing up more room at the bottom of the
- character array.
-
- This program is just a small little utility, so I didn't spend (much) of a
- long time coding it. As such, it is again in my favourite flavour of
- spaghetti-code. The C source code is included, if you want to improve on
- it at all. Go ahead. Caveat emptor. Have fun!
-
-
- Other things of mine which you should check out are:
-
- pix/anim/AmiBanner.lha ;An animating GIF banner that supports Amiga.
- pix/boot/Win95BURN.lha ;My Windows'95 trasher. Burn, baby burn!!!
- pix/boot/Win95BURN.jpg ;A JPEG version of that pic.
- pix/boot/WinBURN24.lha ;A 24-bit IFF version of that pic.
- pix/wb/BeBoxWBs.lha ;Some pics of my WB using the BeIcons.
- pix/wb/JapanWB.lha ;A Japanese Workbench. ;-)
- pix/wb/HAMBrowse.lha ;A Pic showing how to browse the WWW in HAM!
- pix/icon/BeIcons_2.lha ;A set of NewIcons in the BeOS style! (and more!)
- pix/trace/SidMan*.lha ;Concept Render of a SID-Playing Walkman.
- pix/trace/SidManLCD.lha ;LCD texture from the SID walkman.
- gfx/aga/HUGEBench.lha ;Some monitor settings for a HUGE Workbench!
- text/font/C-64Font.lha ;A Commodore-64 font with European accents.
- misc/emu/Snd2Mid.lha ;Converts NES PSG songs to MIDI!!
-
- And of course, my webpage at http://mypage.direct.ca/c/ccovell/
- It has lots of stuff that you might enjoy exploring.
-
- See ya!
-